<!DOCTYPE html>
<html>
<head>
<meta charset="utf-8">
<meta name="renderer" content="webkit">
<meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1">
<title>任务发布 - 我的管理中心</title>
{include file="head"}
<link href="/static/thinkct/css/basic.css?v=1" rel="stylesheet" type="text/css" /><script language="javascript" src="/static/thinkct/js/jquery.m.js"></script><script language="javascript" src="/static/thinkct/js/layui/layui.js"></script><script language="javascript" src="/static/thinkct/js/common.js?v=1"></script><script language="javascript" src="/static/thinkct/js/member.js?v=1"></script><link href="/static/thinkct/css/member.css?v=1" rel="stylesheet" type="text/css" /><link href="/static/thinkct/js/layui/css/layui.css" rel="stylesheet" type="text/css" /><script language="javascript" src="/static/thinkct/js/plupload.js"></script><script language="javascript" src="/static/thinkct/js/upload.js"></script><script language="javascript" src="/static/thinkct/editor/js/wangEditor.min.js"></script><link href="/static/thinkct/editor/css/wangEditor.min.css" rel="stylesheet" type="text/css" /><style>
.layui-form-checkbox-small {
    margin-top: -3px;
}
.fileDel {
   color:#999;font-size:12px;padding: 3px;display: block;text-align:center
}
.fileDel:hover{
   color:red;
}
</style>
</head>
<body>
<!--头部-->
{include file="uhead"}

<!--头部-->
<div class="umain">
{include file="uleft"}  
<div class="uright">
<div class="mwz">
<li class="cur">任务发布</li>
{if(state('task') == 0)}<li class="prompt r red">您当前发布信息，需要人工审核通过后才能展示！<a onclick="noauidt('task','');" style="color: #056dae;" data="state">如何免审?</a></li>{/if}</div>
<form class="layui-form layui-font14"  name="web" action="" method="post" enctype="multipart/form-data">
<div class="demandtips">
	<a class='close' onclick="$('.demandtips').fadeOut('slow');" title='关闭提示'>X</a>
	<p class='title'><i class="icons"></i><b>温馨提示</b></p>
	<p><i>1</i>请认真如实填写您的需求，以便更快匹配到商家为您服务；</p>
	<p><i>2</i>可以根据实际情况选择隐藏您的联系方式，避免被恶意骚扰；</p>
	<p><i>3</i>严禁发布违法违规或广告信息，否则予以封禁，情节严重将封号处理；</p>
	<p><i>4</i>任务内容不得侵害他人合法权益或违反法律法规，否则{:sysconf('site_name')}有权终止或拒绝提供担保服务，且双方需自行承担法律责任；</p>
	<p><i>5</i>发布人应当注意安全防范和具有自我保护的意识，若因交易导致项目被入侵或被盗等任何交易之外的损失，需自行承担责任；</p>
	<p><i>6</i>为保障您的交易安全，切勿与对方进行线下交易，绝大多数被骗均源于线下交易；若对方引导线下交易，可联系{:sysconf('site_name')}官方举报。</p>
</div>
<div class="layui-form-item">
	<label class="layui-form-label">任务类型</label> 
	<div class="layui-input-inline"> 
	
		<!--div class="witkey_selection_box">
			<div class="witkey_selection_selected"> 
				<input type="text" placeholder="请选择.." lay-verify="required" value="" readonly="" class="layui-input" /> 
				<input name="witkey[0]" class="value_0" type="hidden" value="" />
				<input name="witkey[1]" class="value_1" type="hidden" value="" />
				<div class="witkey_selection_edge"></div> 
			</div> 
			<div class="witkey_selection_lay" style="width:552px"> 
				<div class="witkey_selection_tabs"> 
					<a data-value="2">技术开发</a><a data-value="14">美工设计</a><a data-value="18">网络业务</a><a data-value="24">企业代办</a><a data-value="31">营销优化</a><a data-value="38">文案策划</a>
				</div> 
				<div class="witkey_selection_body">
					<div class="witkey_selection_tag"><div class="item" data-value="3"><div class="l"><i></i><cite>UI设计</cite></div><span>网站前端UI设计、移动应用UI设计</span></div><div class="item" data-value="4"><div class="l"><i></i><cite>网站开发</cite></div><span>电脑端网站开发、定制，仿站等业务</span></div><div class="item" data-value="5"><div class="l"><i></i><cite>移动端开发</cite></div><span>小程序开发、APP开发、APP封装打包、H5开发</span></div><div class="item" data-value="6"><div class="l"><i></i><cite>软件开发</cite></div><span>桌面软件开发、系统软件开发、脚本制作、插件开发</span></div><div class="item" data-value="7"><div class="l"><i></i><cite>游戏开发</cite></div><span>手游开发、端游开发、页游开发、游戏UI设计</span></div><div class="item" data-value="8"><div class="l"><i></i><cite>二次开发</cite></div><span>在已有程序、软件基础上进行二次开发，增加/删减功能</span></div><div class="item" data-value="9"><div class="l"><i></i><cite>配置维护</cite></div><span>环境配置、安全维护、安全运维等与服务器相关业务</span></div><div class="item" data-value="10"><div class="l"><i></i><cite>数据采集</cite></div><span>数据采集业务</span></div><div class="item" data-value="11"><div class="l"><i></i><cite>安装调试</cite></div><span>安装调试、软件测试、网站测试</span></div><div class="item" data-value="12"><div class="l"><i></i><cite>修复恢复</cite></div><span>修复BUG、丢失数据恢复</span></div><div class="item" data-value="13"><div class="l"><i></i><cite>技术服务</cite></div><span>域名、云服务、IT解决方案</span></div></div><div class="witkey_selection_tag"><div class="item" data-value="15"><div class="l"><i></i><cite>平面设计</cite></div><span>logo设计、商标设计、PS抠图、电商设计</span></div><div class="item" data-value="16"><div class="l"><i></i><cite>动漫动画</cite></div><span>动画/动漫设计、FLASH制作</span></div><div class="item" data-value="17"><div class="l"><i></i><cite>影视视频</cite></div><span>视频制作、特效处理、影视广告、短视频剪辑配音</span></div></div><div class="witkey_selection_tag"><div class="item" data-value="19"><div class="l"><i></i><cite>自媒体</cite></div><span>微信公众号等自媒体代注册</span></div><div class="item" data-value="20"><div class="l"><i></i><cite>支付业务</cite></div><span>微信支付商户、支付宝商户等支付业务代签约</span></div><div class="item" data-value="21"><div class="l"><i></i><cite>苹果商城</cite></div><span>苹果IOS代签名、应用商城代上架</span></div><div class="item" data-value="22"><div class="l"><i></i><cite>安全认证</cite></div><span>SSL证书、网络安全认证</span></div><div class="item" data-value="23"><div class="l"><i></i><cite>其他业务</cite></div><span>不在上述范围的网络相关业务可选择此分类</span></div></div><div class="witkey_selection_tag"><div class="item" data-value="25"><div class="l"><i></i><cite>商标业务</cite></div><span>商标的注册/转让/购买/复审/注销/变更/续展</span></div><div class="item" data-value="26"><div class="l"><i></i><cite>版权业务</cite></div><span>软件著作权、作品著作权、版权的登记/变更/转让/补证</span></div><div class="item" data-value="27"><div class="l"><i></i><cite>专利业务</cite></div><span>发明专利、实用新型专利、外观设计专利</span></div><div class="item" data-value="28"><div class="l"><i></i><cite>工商财税</cite></div><span>工商登记、工商变更、代理记账、税收筹划</span></div><div class="item" data-value="29"><div class="l"><i></i><cite>法律服务</cite></div><span>法律咨询、法律文书、聘请律师、企业法务、风险评估</span></div><div class="item" data-value="30"><div class="l"><i></i><cite>资质认证</cite></div><span>双软评估、ISO认证、资质认证、高企认定、项目申报</span></div></div><div class="witkey_selection_tag"><div class="item" data-value="32"><div class="l"><i></i><cite>SEO优化</cite></div><span>网站优化、百度/谷歌/360等搜索引擎关键词优化</span></div><div class="item" data-value="33"><div class="l"><i></i><cite>品牌营销</cite></div><span>视频推广、电商代运营、新闻媒体发稿</span></div><div class="item" data-value="34"><div class="l"><i></i><cite>网络营销</cite></div><span>短视频推广、网络推广、百度推广、网站推广、QQ推广、发帖推广</span></div><div class="item" data-value="35"><div class="l"><i></i><cite>微信营销</cite></div><span>微信公众号/小程序/微店的代运营/转发/推广/活动</span></div><div class="item" data-value="36"><div class="l"><i></i><cite>微博营销</cite></div><span>微博代运营、微博话题榜、微博营销全案、微博推广</span></div><div class="item" data-value="37"><div class="l"><i></i><cite>媒体营销</cite></div><span>软文推广、自媒体/新媒体/传统媒体广告，信息流/朋友圈广告</span></div></div><div class="witkey_selection_tag"><div class="item" data-value="39"><div class="l"><i></i><cite>文案写作</cite></div><span>商业计划书、宣传文案、产品文案、百科/问答撰写</span></div><div class="item" data-value="40"><div class="l"><i></i><cite>营销策划</cite></div><span>活动策划、宣传策划、品牌策划、广告策划</span></div></div>
				</div>
			</div> 
		</div-->
		<select lay-verify="required" name="menus[]" > <option value="">请选择..</option>
		{foreach($menus.type as $v)}<option value='{$v.id}' {if($v.id == $data.typesxid)}selected{/if}>{$v.name2}</option>{/foreach}
		</select>		
	</div> 
</div> 
<div class="layui-form-item">
    <label class="layui-form-label">任务主题</label>
    <div class="layui-inline">
	<input  name="tit" class="layui-input" value="{$data.tit}" maxlength="50" style='width:300px;' lay-verify="tit" size="50" type="text" placeholder="一句话简单描述您的任务"/>
    </div> 
</div>
<div class="layui-form-item">
    <label class="layui-form-label">任务要求</label>
    <div class="layui-input-block form-textarea-box"><textarea name="txt" id='content' class="checkLen" >{$data.txt}</textarea></div>
			<div class="layui-input-block mt15">
						<div class="upload-box">
							<div class="container">
								<div class="statusBar">
									<div class="info"><b>1.</b>附件非必传！限上传5个,单个大小上限5M<br><b>2.</b>支持格式：jpg,png,gif,txt,pdf,doc,xls,zip,rar</div>
									<div class="btns">
										<a id="browse">上传附件</a>
									</div>
								</div>
								<table  class="fu_list" id='pluing' style="display:none;" >
									<thead>
									<tr>
									<td width="64%">待传队列（<u>0</u>）<font color="#888">提示：待传队列为点击最后的“确认提交”时开始上传</font></td>
									<td width="22%" align="center"></td>
									<td width="14%" align="center">操作</td>
									</tr>
									</thead>
									<tbody id="FileListing">
									</tbody>
								</table>
															</div>
						</div>
					</div>

</div>


<div class="layui-form-item">
    <label class="layui-form-label">联系QQ</label>
    <div class="layui-input-inline">
	<select name="qqtype">
    <option value="1" {if $data.qqtype==1}selected{/if}>公开显示QQ</option>
	<option value="2" {if $data.qqtype==2}selected{/if}>登录(非游客)可见</option>
  </select>
 </div>
</div>
<div class="layui-form-item">
    <label class="layui-form-label">联系电话</label>
    <div class="layui-input-inline">
	<select name="phonetype" >
		<option value="2" {if $data.phonetype==2}selected{/if}>登录(非游客)可见</option>
		<option value="3" {if $data.phonetype==3}selected{/if}>投标服务商可见</option>
		<option value="4" {if $data.phonetype==4}selected{/if}>中标服务商可见</option>
	 </select>
</div>
</div>

<div class="layui-form-item">
    <label class="layui-form-label">有效期</label>
    <div class="layui-input-inline">
	<select name="day" lay-verify="required">
	<option value="">请选择..</option>
	    <option value="3" {if $data.num==3}selected{/if}>3天</option>
	    <option value="7" {if $data.num==7}selected{/if}>7天</option>
	    <option value="10" {if $data.num==10}selected{/if}>10天</option>
	    <option value="30" {if $data.num==30}selected{/if}>30天</option>
	    <option value="90" {if $data.num==90}selected{/if}>90天</option>
	    <option value="180" {if $data.num==180}selected{/if}>180天</option>
	    <option value="365" {if $data.num==365}selected{/if}>365天</option>
	  </select>
 </div> <div class="layui-form-mid layui-word-aux">该任务多长时间内允许服务商投标！</div>
</div>


<div class="layui-form-item">
    <label class="layui-form-label">任务周期</label>
    <div class="layui-input-inline">
	<select name="cyc" lay-verify="required">
	<option value="">请选择..</option>
	    <option value="1" {if $data.cyc==1}selected{/if}>1天</option>
	    <option value="3" {if $data.cyc==3}selected{/if}>3天</option>
	    <option value="5" {if $data.cyc==5}selected{/if}>5天</option>
	    <option value="7" {if $data.cyc==7}selected{/if}>7天</option>
	    <option value="10" {if $data.cyc==10}selected{/if}>10天</option>
	    <option value="15" {if $data.cyc==15}selected{/if}>15天</option>
	    <option value="30" {if $data.cyc==30}selected{/if}>30天</option>
	    <option value="0" {if $data.cyc==0}selected{/if}>由服务商报时</option>
	  </select>
 </div>
 <div class="layui-form-mid layui-word-aux">即您需服务商在多长时间内来完成此任务。</div>
</div>




<div class="layui-form-item">
    <label class="layui-form-label">任务预算</label>
    <div class="layui-input-block delivery">
<strong class='change cur'><input name="moneytype" lay-filter='change' type="radio" value="0" checked title='一口价' /></strong>
<strong class='change'><input name="moneytype" lay-filter='change' type="radio" value="1"  title='范围报价' /></strong>
<div class="change_box">
<div class="box">
<div class="layui-form-item">
<label class="layui-form-label">一口价</label>
<div class='layui-input-inline'><input class="layui-input"  placeholder="￥" name="money"  value="{$data.money}" size="20" type="text"/></div><div class="layui-form-mid layui-word-aux">元　( 不能小于10元 )</div>
</div>
<div class="layui-form-item">
 <div class='notes'>
<li><h3> 一口价说明：</h3></li>
<li><b>1.</b>当服务商觉得能完成任务且能接受您的任务酬金时，则可以报名参加接单；</li>
<li><b>2.</b>之后您可在报名列表中选择雇佣您看中的服务商来完成您的任务。</li>
 </div>
</div>
</div>
<div class="box" style='display:none;'>
<div class="layui-form-item">
<label class="layui-form-label">预算范围</label>
<div class="layui-input-inline" style="width: 100px;">
        <input type="text" name="am" placeholder="￥" value="{$data.am}" autocomplete="off" class="layui-input">
      </div>
<div class="layui-form-mid">-</div>
<div class="layui-input-inline" style="width: 100px;">
        <input type="text" name="dm" placeholder="￥" value="{$data.dm}" autocomplete="off" class="layui-input">
</div>
</div>
<div class="layui-form-item">
<div class='notes'>
<li><h3> 范围报价说明：</h3></li>
<li><b>1.</b>您可以选择一个预算范围，服务商可以在此范围内进行报价；</li>
<li><b>2.</b>之后您可在报价列表中选择雇佣您觉得合适的服务商来完成您的任务。</li>
</div>
</div>
</div>
</div>
</div>
</div>






<div class="layui-form-item">
    <label class="layui-form-label">投标要求</label>
    <div class="layui-input-block delivery">
<strong class='change cur'><input name="bond" lay-filter='change' type="radio" value="0" checked title='全部商家' /></strong>
<strong class='change'><input name="bond" lay-filter='change' type="radio" value="1"  title='仅消保商家' /></strong>
<div class="change_box" style='padding:0;border-top:0'>
<div class="box">
 <div class='notes'>
 <li><h3 style='font-weight:normal;width:95%;'> 不限制，所有商家均可参与任务投标！</h3></li>
</div>
</div>
<div class="box" style='display:none;'>
<div class='notes'>
<li><h3 style='font-weight:normal;width:95%;'>若加入消保的商家中标，交易失败（退款）可额外获得消保赔付（至少交易额的5%）</h3></li>

</div>
</div>
</div>
</div>
</div>



<div class="layui-form-item" style='padding-bottom:15px;margin-top:10px;'>
    <label class="layui-form-label"></label>
    <div class="layui-input-block"><input type="submit" class="layui-btn" lay-submit=""  value="确认提交" /></div>
</div>
<div class='notes'>
	<li> <h3>小提示：</h3></li>
	<li><b>1.</b>若您需要修改联系信息可在【<a href="/member/setup/info" target="_blank">个人信息</a>】和【<a href="/member/central/certification/phone" target="_blank">手机认证</a>】中修改。（也可以发布后再修改）</li>
</div>
  <input type="hidden" name="bh" value="{$bh}">
  <input type="hidden" name="type" value="">
  <input type="hidden" name="action" value="{$action}">
  <input type="hidden" name="passkey" value="{:passkey()}">
</form>
 </div>
</div>
{include file="bottom"}<script type="text/javascript">
layui.use('form',function(){var form=layui.form();form.on('radio(change)',function(data){var $this=$(data.elem).closest("strong");$this.addClass("cur").siblings('strong').removeClass('cur');$this.nextAll(".change_box").children('.box').eq((data.value)).show().siblings('.box').hide()});form.on('submit',function(data){var budget=$("input[name='moneytype']:checked").val();if(budget==0){if($("input[name=money]").val()<10){scTop('input[name=money]');layer.tips('【一口价金额】不能小于10元',$("input[name=money]"));$("input[name=money]").focus();return false}}else{if($("input[name=am]").val()<100){scTop('input[name=dm]');layer.tips('【范围报价】下限不能低于100元',$("input[name=am]"));$("input[name=am]").focus();return false}else if(($("input[name=dm]").val()-$("input[name=am]").val())<1){scTop('input[name=dm]');layer.tips('【范围报价】上限必须高于下限',$("input[name=dm]"));$("input[name=dm]").focus();return false}}if(uploader.total.queued>0){progress();$('#progress-upload').html(uploader.files.length);uploader.start();return false}else{progress(true);return true}});$(".bfile img").length>0&&setTimeout(function(){layer.photos({photos:".bfile",shift:5})},100)});var editor=new wangEditor('content');editor.config.menus=['source','undo','redo','|','bold','underline','eraser','table','|','fullscreen'];editor.onchange=function(){editor.$txt.find("img").remove()};editor.create();var maxnum=5,stop=0;$("#FileListsuc .fileDel").live('click',function(){var $this=$(this);layer.confirm('<strong>确定要<font color="#ff6600">删除</font>以下附件吗？</strong><br><font color=#666666>'+$this.attr('name')+'</font>',{icon:0},function(index){ $.ajax({type:"POST",url:"/upload/",async:true,data:"action=del&p=159851627297&object="+$this.attr('id')+"&type=task",success:function(is){var arr=is.split('|');var datas=$.trim(arr[0]);if(datas==0){layer.login('再删除',$this.attr('id'))}else if(datas==1){ $this.closest('div').remove();if($('#FileListsuc>div').length<=0){ $('#FileListsuc').hide();return false}}else{layer.alert(arr[1],{icon:datas})}},error:function(){layer.msg('网络异常，请重试');return false}});layer.close(index)})});uploader=new plupload.Uploader({runtimes:'html5,flash,silverlight,html4',browse_button:'browse',url:"/upload/",resize:{width:900},max_retries:1,flash_swf_url:'/check/Moxie.swf',silverlight_xap_url:'/check/Moxie.xap',filters:{prevent_duplicates:true,max_file_size:'5mb',mime_types:[{title:"选择文件",extensions:'jpg,png,gif,txt,pdf,doc,docx,xls,xlsx,zip,rar'}]},multi_selection:true});uploader.init();uploader.bind('FilesAdded',function(uploader,files){var newnum=maxnum-parseInt($('#FileListsuc>div').length+$('#FileListing tr').length),flen=files.length,fhtml,vhtml='',ehtml='';if(flen>newnum){layer.alert("<strong>附件最多能上传"+maxnum+"个</strong>",{icon:2});uploader.splice(newnum,10000)}for(var i=0;i<=flen;i++){if(i==flen){if(ehtml!=''){layer.alert("<strong>以下附件已传过了，不要重复上传</strong><br>"+ehtml,{icon:0})}if(uploader.files.length>0){ $('#pluing').show();$(fhtml).appendTo('#FileListing');$('#pluing u').html(uploader.files.length)}return false}if(i>=newnum){continue}fname=files[i].name;fid=files[i].id;var f5name=$.md5(files[i].size+files[i].lastModifiedDate+files[i].type);vhtml='<tr id="file-'+fid+'"><td>'+fname+'</td><td></td><td align="center"><a onclick=deling("'+fid+'")>取消</a></td></tr>';$("#FileListsuc :checkbox").each(function(){if($(this).val()==f5name){vhtml='';uploader.removeFile(fid);ehtml+="【"+fname+"】<br>";return false}});fhtml=fhtml+vhtml}});uploader.bind("BeforeUpload",function(uploader,file){uploader.setOption("multipart_params",{lastDate:file.lastModifiedDate,osize:file.size,number:'159851627297',filebh:'159851627297',type:'task',menu:'show',filetype:'files',maxnum:maxnum})});uploader.bind("UploadProgress",function(uploader,file){ $('#progress-in').width(uploader.total.percent+"%");$("#file-"+file.id+" td:eq(2)").html("<b>"+file.percent+"%</b>")});uploader.bind("FileUploaded",function(uploader,file,info){ $('#progress-uploaded').html(uploader.total.uploaded);var data=$.parseJSON(info.response);if(data.state!=0){ $fh=$('#progress ul');$fh.show();$('<p><span>'+file.name+'</span><br><b>'+data.state+' >> 继续执行…</b></p>').appendTo($fh);stop=5000}});uploader.bind("UploadComplete",function(uploader){setTimeout("$(\"input[type=submit]\").click()",stop)});uploader.bind("Error",function(uploader,err){if(err.message=='HTTP Error.'){fid=err.file.id;$("#file-"+fid+" td:eq(1)").html("<font color=red>系统出错，代码"+err.code+"</font>");$("#file-"+fid+" td:eq(2)").html('<a onclick=deling("'+fid+'")>删除</a>');return false}layer.alert("<strong>"+err.message+"</strong>",{icon:5})});
</script>
</body>
</html>